home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ghostscript.idb / usr / freeware / catman / u_man / cat1 / ansi2knr.Z / ansi2knr
Encoding:
Text File  |  1998-05-21  |  1.6 KB  |  68 lines

  1. /xlv1/freeware/1998.May/ghostscript/3.33+jpeg/gs3.33.diffbuild/jpeg-5a
  2.  
  3.  
  4.  
  5.      AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33331111 DDDDeeeecccceeeemmmmbbbbeeeerrrr    1111999999990000))))       AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))
  6.  
  7.  
  8.  
  9.      NNNNAAAAMMMMEEEE
  10.       ansi2knr - convert ANSI C to Kernighan & Ritchie C
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       _a_n_s_i_2_k_n_r input_file output_file
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.       If no    output_file is supplied, output    goes to    stdout.
  17.       There    are no error messages.
  18.  
  19.       _a_n_s_i_2_k_n_r recognizes functions    by seeing a non-keyword
  20.       identifier at    the left margin, followed by a left
  21.       parenthesis, with a right parenthesis    as the last character
  22.       on the line.    It will    recognize a multi-line header if the
  23.       last character on each line but the last is a    left
  24.       parenthesis or comma.     These algorithms ignore whitespace
  25.       and comments,    except that the    function name must be the
  26.       first    thing on the line.
  27.  
  28.       The following    constructs will    confuse    it:
  29.            - Any other construct that starts at the    left margin
  30.       and follows the above    syntax (such as    a macro    or function
  31.       call).
  32.            - Macros    that tinker with the syntax of the function
  33.       header.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.      Page 1                         (printed 5/12/98)
  65.  
  66.  
  67.  
  68.